package Demo1;

import java.util.Map;
import java.util.Scanner;

import static Demo1.MyArrayList.revolveRight;
import static Demo1.MyArrayList.revolveRight1;

public class Test1 {
    public static void main(String[] args) {
        int[] arr = {1,4,7,9,12};
        MyArrayList myArrayList = new MyArrayList(arr);


        myArrayList.reserve();


        System.out.print("逆序后数组: ");
        myArrayList.display();

    }
}
